<?php 
class Form_Connexion extends Zend_Form
{
	public function init()
	{
		$this->setMethod('post');
		$this->setName('connexion');
		
		$login=new Zend_Form_Element_Text('Login');
		$login 	->setLabel("Login : ")
				->addFilter('StripTags')
				->addFilter('StringTrim')
				->setRequired(true);
				
				
			
		$pass=new Zend_Form_Element_Password('Password');
		$pass 	->setLabel("Mot de Passe : ")
				->addFilter('StripTags')
				->addFilter('StringTrim')
				->setRequired(true);
				
		$submit=new Zend_Form_Element_Submit('Valider');
		$reset=new Zend_Form_Element_Reset('Annuler');
		
		$this->addElement($login);
		$this->addElement($pass);
		$this->addElement($submit);
		$this->addElement($reset);
	}
}

?>